<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Magic 口碑营销平台</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="../css/magic.css">
<link rel="stylesheet" href="../css/work-magic.css">
<link rel="stylesheet" href="../css/jquery.ui.all.css">
</head>
<body>
<div id="wrap">
<form id="gift-exchange">
    <fieldset>
        <legend>礼品基本信息</legend>
        <table>
            <tbody>
                <tr>
                    <th><abbr class="require" title="必填项">*</abbr>
                        <label for="gift-title">礼品名称：</label></th>
                    <td><input type="text" name="" class="text l-size" id="gift-title"></td>
                </tr>
                <tr>
                    <th style="vertical-align:top;"><abbr class="require" title="必填项">*</abbr>
                        <label for="gift-type">礼品类型：</label></th>
                    <td><div>
                            <select id="gift-type" name="">
                                <option value="">实物</option>
                                <option value="" id="virtual">虚拟</option>
                            </select>
                            <select id="entity-type" name="">
                                <option value="">口碑卡</option>
                                <option value="">优惠券</option>
                                <option value="">其它</option>
                            </select>
                            <select id="virtual-type" name="">
                                <option value="">积分</option>
                                <option value="">金豆</option>
                            </select>
                        </div>
                        <div id="virtual-num">
                            <label>
                                <input type="text" class="text s-size" name="">
                                (分/颗)</label>
                        </div></td>
                </tr>
                <tr>
                    <th><abbr class="require" title="必填项">*</abbr>
                        <label for="gift-category">礼品类别：</label></th>
                    <td><select id="gift-category" name="">
                            <option value="">家居生活</option>
                            <option value="">数码产品</option>
                        </select></td>
                </tr>
                <tr>
                    <th><abbr class="require" title="必填项">*</abbr>
                        <label for="gift-supplier">供销商编号：</label></th>
                    <td><input type="text" name="" class="text s-size" id="gift-supplier">
                        <span class="note">供货商名字-奖品编号</span></td>
                </tr>
                <tr>
                    <th><abbr class="require" title="必填项">*</abbr>
                        <label for="gift-price">市场价：</label></th>
                    <td><input type="text" name="" class="text s-size" id="gift-price">
                        (元)</td>
                </tr>
                <tr>
                    <th><abbr class="require" title="必填项">*</abbr>
                        <label for="gift-num">礼品数量：</label></th>
                    <td><input type="text" name="" class="text s-size" id="gift-num">
                        (件)</td>
                </tr>
                <tr>
                    <th><abbr class="require" title="必填项">*</abbr>
                        <label for="gift-pic">标准图：</label></th>
                    <td><input type="file" name="" id="gift-pic">
                        <span class="note">尺寸：300*500</span></td>
                </tr>
                <tr>
                    <th><label for="gift-pic1">其他图1：</label></th>
                    <td><input type="file" name="" id="gift-pic1">
                        <span class="note">尺寸：300*500</span></td>
                </tr>
                <tr>
                    <th><label for="gift-pic2">其他图2：</label></th>
                    <td><input type="file" name="" id="gift-pic2">
                        <span class="note">尺寸：300*500</span></td>
                </tr>
                <tr>
                    <th><label for="start-desc">礼品描述：</label></th>
                    <td></td>
                </tr>
            </tbody>
        </table>
    </fieldset>
    <fieldset>
        <legend>礼品展现信息</legend>
        <table>
            <tbody>
                <tr>
                    <th><abbr class="require" title="必填项">*</abbr>
                        <label>展现区：</label></th>
                    <td><select name="">
                            <option value="">积分首页</option>
                        </select>
                        <select name="">
                            <option value="">推荐区</option>
                        </select></td>
                </tr>
                <tr>
                    <th><label>印章：</label></th>
                    <td><label>
                            <input type="radio" value="" name="">
                            推荐</label>
                        <label>
                            <input type="radio" value="" name="">
                            热门</label>
                        <label>
                            <input type="radio" value="" name="">
                            无</label></td>
                </tr>
                <tr>
                    <th><abbr class="require" title="必填项">*</abbr>
                        <label>活动类型：</label></th>
                    <td><label>
                            <input type="radio" value="" name="xx" id="select-exchange" class="select-activity-type" checked="checked">
                            兑换</label>
                        <label>
                            <input type="radio" value="" name="xx" id="select-award" class="select-activity-type">
                            抽奖</label></td>
                </tr>
                <tr class="items-exchange">
                  <th style="vertical-align:top;"><abbr class="require" title="必填项">*</abbr>
                      <label>是否支持抢兑：</label></th>
                  <td>
                    <div>
                      <label><input type="radio" value="" name="xxx" id="select-strive-true"> 是</label>
                      <label><input type="radio" value="" name="xxx" id="select-strive-false" checked="checked"> 否</label>
                    </div>
                    <div id="exchange-time-wrap">
                      <p>
                          <label>抢兑时间：</label>
                          <input type="text" name="" class="text time" id="start-time" readonly="readonly"> ～ <input type="text" name="" class="text time" id="end-time" readonly="readonly">
                      </p>
                  </div>
                </td>
            </tr>
            
            <tr class="items-exchange">
                <th><label for="num-limit">兑换次数限制：</label></th>
                <td><select name="" id="num-limit">
                        <option value="">没人仅限一次</option>
                    </select></td>
            </tr>
            <tr class="items-award">
                <th><abbr class="require" title="必填项">*</abbr>
                    <label for="award-probability">中奖概率：</label></th>
                <td><input type="text" name="" class="text s-size" id="award-probability"></td>
            </tr>
            <tr class="items-award">
                <th><label for="award-num-limit">中奖次数限制：</label></th>
                <td><select name="" id="award-num-limit">
                        <option value="">没人仅限一次</option>
                    </select></td>
            </tr>
            <tr>
                <th><abbr class="require" title="必填项">*</abbr>
                    <label>参与形式：</label></th>
                <td><label>
                        <input type="radio" value="" name="">
                        积分</label>
                    <label>
                        <input type="radio" value="" name="">
                        金豆</label></td>
            </tr>
            <tr>
                <th><abbr class="require" title="必填项">*</abbr>
                    <label for="num">数量：</label></th>
                <td><input type="text" name="" class="text s-size" id="num">
                    (分/颗)</td>
            </tr>
            <tr>
                <th><abbr class="require" title="必填项">*</abbr>
                    <label>时间：</label></th>
                <td><input type="text" name="" class="text time" id="start-time2" readonly="readonly">
                    ～
                    <input type="text" name="" class="text time" id="end-time2" readonly="readonly"></td>
            </tr>
            <tr>
                <th><label for="gift-order">排序：</label></th>
                <td><input type="text" name="" class="text s-size" id="gift-order">
                    <span class="note">(从小到大排序)</span></td>
            </tr>
            <tr>
                <th><label for="level-limit">等级限制：</label></th>
                <td><select name="" id="level-limit">
                        <option value="">包打听</option>
                    </select></td>
            </tr>
            <tr>
                <th><label for="business-url">合作商地址：</label></th>
                <td><input type="text" name="" class="text l-size" id="business-url"></td>
            </tr>
            <tr>
                <th style="vertical-align:top;"><label for="comment">备注：</label></th>
                <td><textarea name="" class="s-size" id="comment"></textarea></td>
            </tr>
            </tbody>
            
        </table>
    </fieldset>
    <div class="option">
        <input type="submit" value="提交">
        <input type="button" value="预览">
        <input type="button" value="取消">
    </div>
</form>
</div>
<script type="text/javascript" src="../js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="../js/jquery.ui.core.js"></script>
<script type="text/javascript" src="../js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../js/jquery.ui.datepicker.js"></script>
<script src="../js/magic.js"></script>
<script>
magic.init("gift-exchange");
</script>
</body>
</html>